﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PickQuery.aspx.cs" Inherits="RLRT.Web.PickQuery" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>领用查询</title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="Page">
            <div class="Title">
                <asp:Label ID="PageTitle" runat="server" Text="领用查询"></asp:Label>
            </div>
            <div class="Operating">
                <ul>
                    <li class="Caption">工令号
                    </li>
                    <li class="Content">
                        <asp:TextBox ID="OrNoFrom" runat="server"></asp:TextBox>
                    </li>
                    <li class="Caption">~
                    </li>
                    <li class="Content">
                        <asp:TextBox ID="OrNoTo" runat="server"></asp:TextBox>
                    </li>
                    <li class="LineFeed"></li>
                    <li class="Caption">工件号码
                    </li>
                    <li class="Content">
                        <asp:TextBox ID="BomNo" runat="server"></asp:TextBox>
                    </li>
                    <li class="Caption">工件名称
                    </li>
                    <li class="Content">
                        <asp:TextBox ID="BomName" runat="server"></asp:TextBox>
                    </li>
                    <li class="LineFeed"></li>
                    <li class="Caption">日期
                    </li>
                    <li class="Content">
                        <asp:TextBox ID="DateFrom" runat="server" CssClass="Date"></asp:TextBox>
                    </li>
                    <li class="Caption">~
                    </li>
                    <li class="Content">
                        <asp:TextBox ID="DateTo" runat="server" CssClass="Date"></asp:TextBox>
                    </li>
                    <li class="LineFeed"></li>
                    <li class="Caption"></li>
                    <li class="Content">
                        <asp:CheckBox ID="IsPick" runat="server" Text="领用" />&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:CheckBox ID="IsScrap" runat="server" Text="报废" />
                    </li>
                    <li class="LineFeed"></li>
                    <li class="Button">
                        <asp:Button ID="OKButton" runat="server" Text="<%$ Resources:iiWeb, OKButton %>"
                            OnClick="OKButton_Click" />
                        <asp:Button ID="CancelButton" runat="server" Text="<%$ Resources:iiWeb, CancelButton %>"
                            OnClick="CancelButton_Click" />
                        <asp:Button ID="ExportButtion" runat="server" Text="导出Excel" CssClass="Highlighted" OnClick="ExportButtion_Click" />
                    </li>
                </ul>
            </div>
            <div class="List">
                <asp:GridView ID="List" runat="server" EmptyDataText="<%$ Resources:iiWeb, EmptyData %>"
                    EnableModelValidation="True" OnPageIndexChanging="List_PageIndexChanging">
                    <Columns>
                        <asp:BoundField DataField="MINO" HeaderText="单据号码" />
                        <asp:BoundField DataField="miseq" HeaderText="序号" />
                        <asp:BoundField DataField="misono" HeaderText="工令号" />
                        <asp:BoundField DataField="mipono" HeaderText="工件号" />
                        <asp:BoundField DataField="miponame" HeaderText="工件名称" />
                        <asp:BoundField DataField="mimat" HeaderText="材质" />
                        <asp:BoundField DataField="misize" HeaderText="规格" />
                        <asp:BoundField DataField="miuit" HeaderText="单位" />
                        <asp:BoundField DataField="miqty" HeaderText="数量" />
                        <asp:BoundField DataField="midate" HeaderText="日期" />
                        <asp:BoundField DataField="miremark" HeaderText="备注" />
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </form>
</body>
</html>
